package com.soft.knowledge.req;


import javax.validation.constraints.NotNull;

public class VoteReq{
    @NotNull(message = "【用户】不能为空")
    private Long userId;
    @NotNull(message = "【点赞对象】不能为空")
    private Long infoId;

    private String operation;

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }
}
